<%@page pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CommentList</title>
</head>
<body>
<c:forEach var="e" items="${ list }">
    <div>${ f:h(e.title) }</div>
    <c:forEach var="c" items="${ e.commentListRef.modelList }">
        <div>${ f:nbsp('     ') }${ c.commentAsString }</div>
    </c:forEach>
</c:forEach>

<c:forEach var="c" items="${ comments }">
    <div>${ c.commentAsString } ----> ${ c.entryRef.model.title }</div>
</c:forEach>
</body>
</html>
